package com.wangmengtao.upms.service.impl;

import com.wangmengtao.upms.dao.UpmsUserDetailDao;
import com.wangmengtao.upms.model.UpmsUserDetail;
import com.wangmengtao.upms.service.UpmsUserDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName: UpmsUserDetailServiceImpl
 * @Description: TODO
 * @Author: WangMengtao
 * @Data: 2019/6/5 17:15
 * @Version: 1.0.0
 */
@Service
public class UpmsUserDetailServiceImpl implements UpmsUserDetailService {
    @Autowired
    private UpmsUserDetailDao upmsUserDetailDao;

    @Override
    public int insert(UpmsUserDetail upmsUserDetail) {
        return 0;
    }

    @Override
    public int deleteById(Long id) {
        return 0;
    }

    @Override
    public int update(UpmsUserDetail upmsUserDetail) {
        return upmsUserDetailDao.update(upmsUserDetail);
    }

    @Override
    public int deleteByIds(List<Long> ids) {
        return 0;
    }

    @Override
    public UpmsUserDetail getById(Long id) {
        return upmsUserDetailDao.getById(id);
    }

    @Override
    public List<UpmsUserDetail> list() {
        return upmsUserDetailDao.list();
    }
}
